package com.example.demo.information.repository;

import com.example.demo.information.entity.Historyphoto;
import com.example.demo.information.entity.Photo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HistoryphotoRepository extends JpaRepository<Historyphoto,Long> {

    List<Historyphoto> findByXsxxIdAndXxxxIdAndBjxxIdOrderByLrsjDesc(Long xsxxId, Long xxxxId, Long bjxxId);
}
